package ifosup.thibault.semaine;

public class JourFerie extends JourDeLaSemaine {
	public boolean chome = true;

	public JourFerie(int n, String name, boolean chome) {
		super(n, name);
		this.chome = chome;
	}
	
	@Override
	public String toString() {
		if (this.chome==true)
		{	
		return (super.toString()+"et on bosse PAS");
		}
		else
		{
			return (super.toString()+"et on bosse");	
		}
		
	}
}
